﻿using System;
using System.Collections.Generic;
using System.Text;
using WcfContract;
using System.ServiceModel;
using System.Threading;
using System.IO;

namespace TestServer
{
    [ServiceBehavior( ConcurrencyMode = ConcurrencyMode.Multiple,
    InstanceContextMode = InstanceContextMode.PerSession )]
    class ServiceStreamed : IServiceStreamedContract
    {
        public Stream Test() 
        {
            CustomStream stream = new CustomStream();
            return stream;
        }
    }
}
